<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="${cxt }/css/yk_base.css" />
<link rel="stylesheet" href="${cxt }/css/yk_myCenter_message.css" />
<script type="text/javascript" src="${cxt }/js/jquery-3.2.1.js" ></script>
<script type="text/javascript" src="${cxt }/js/yk_myCenter_message.js" >
</script><script type="text/javascript">
	function update(){ 
		var oldTelid = $("#oldTelid").val();
		$("input[name=oldTelid]").val(oldTelid);
		var newTelid = $("#newTelid").val();
		$("input[name=newTelid]").val(newTelid);
		$("#telphone").submit();
	} 
</script>
<title>我的信息</title>
</head>
<body>
	<form action="${cxt }/userview/myCenter/message" method="post" id="telphone">
	<div style="width: 100%;background: #F2F3F5;">
			<div class="message">
				<div class="zc_ipttitle_bd zc_coltdinfo">
					<h2>我的信息</h2>
					<div id="originalDiv">
					<ul>
						<li>
							<label class="fl">姓名</label>
							<span class="fl">${message.user_name}</span>
							<div class="fr">真实姓名，方便租车时核对身份</div>
							<div class="cl"></div>
						</li>
						<li>
							<label class="fl">证件</label>
							<span class="fl cards_show">身份证：${message.user_idcard}</span>
							<div class="fr">如需修改，请致电400-616-6666</div>
							<div class="cl"></div>
						</li>
						<li>
							<label class="fl">手机号码</label>
							<span class="fl" id="xmobile">${message.user_telphone}</span>
							<div class="fr" id="modifyToggle">
								<a href="javascript:void(0)">修改</a>
							</div>
							<div class="cl"></div>
						</li>
						<li class="modify_no" id="modifyDiv" style="display: none;">
							<div class="p-re" id="errorTip2" style="z-index: 20;"></div>
							<label class="fl">手机号码</label>
							<span class="fl">
								<input type="hidden" id="modifyMobileFlag" value="1"/>
								<input class="zc-ipt p-re old_telno" type="text" id="oldTelid" placeholder="原手机号"/>
								<input class="zc-ipt p-re old_telno" type="hidden" id="oldTelHidden"/>
								<input type="hidden" name="oldTelid">
								<input class="zc-ipt p-re new_telno" type="text" id="newTelid" placeholder="新手机号"/>
								<input class="zc-ipt p-re new_telno" type="hidden" id="newTelHidden"/>
								<input type="hidden" name="newTelid">
							</span>
							<div class="cl">
							</div>
						</li>
						<li>	
							<label class="fl">电子邮箱</label>
							<span class="fl" id="xmobile">
								<input class="zc-ipt" type="text" id="xemail" class="输入常用邮箱" maxlength="50"/>
								<input type="hidden" id="originEmail" />
							</span>
							<div class="fr" id="yzemail">
								<a href="javascript:void(0)">验证</a>
							</div>
							<div class="cl"></div>
						</li>
					</ul>
					<div class="graybutbox">
						<input class="zc_orange_bigsub" id="zcsave" onclick="update()" value="保存">
						${telphone1}
						${telphone2}
						${telphone3}
						${telphone4}
					</div>
					<ul>
						<li id="subscribe">
							<label class="fl">邮件订阅</label>
							<span class="fl">为您推送超值优惠活动</span>
							<div class="fr green">已订阅</div>
							<div class="cl"></div>
						</li>
					</ul>
				</div>
				</div>
			</div>
		</div>
	</form>
</body>
</html>